<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ attribute name="paging" required="true" type="org.corp.agi.common.bean.PagingBean" %>
<%@ attribute name="callback" required="true" %>
<div class="pagenum">
<a href="javascript:${callback}(1)"><span>&laquo;</span></a>&nbsp;&nbsp;
<a href="javascript:${callback}(<c:out value="${paging.perviousPage}"/> )"><span>&#8249;</span></a>&nbsp;&nbsp;
<c:forEach var="page" items="${paging.displayPage}"> 
<a href="javascript:${callback}(${page})">${page}</a>&nbsp;&nbsp;
</c:forEach>
<a href="javascript:${callback}(<c:out value="${paging.nextPage}"/>)"><span>&#8250;</span></a>&nbsp;&nbsp;
<a href="javascript:${callback}(<c:out value="${paging.pageCount}"/>)"><span>&raquo;</span></a>&nbsp;&nbsp;
</div>
<%--
<div class="pagenum">
<a href="javascript:changePage(1)"><span>&laquo;</span></a>&nbsp;&nbsp;
<a href="javascript:changePage(<s:property value="%{pagingBean.perviousPage}"/>)"><span>&#8249;</span></a>&nbsp;&nbsp;
<s:iterator status="rowstatus" value="%{pagingBean.displayPage}" >
	<a href="javascript:changePage(<s:property />)"><s:property /></a>&nbsp;&nbsp;
</s:iterator>
<a href="javascript:changePage(<s:property value="%{pagingBean.nextPage}"/>)"><span>&#8250;</span></a>&nbsp;&nbsp;
<a href="javascript:changePage(<s:property value="%{pagingBean.pageCount}"/>)"><span>&raquo;</span></a>&nbsp;&nbsp;
</div>
--%>